package com.example.adminui.service;

import com.example.adminui.entity.Team;
import com.example.adminui.entity.TeamPerformance;

import java.util.List;

public interface TeamService {
    List<Team> getAllTeams();
    Team getTeamById(Long id);
    void createTeam(Team team);
    void updateTeam(Team team);
    void deleteTeam(Long id);

    List<TeamPerformance> getTeamPerformanceByMonth(String month);

    TeamPerformance getTeamPerformanceById(Long id);

    void createTeamPerformance(TeamPerformance teamPerformance);

    void updateTeamPerformance(TeamPerformance teamPerformance);

    void deleteTeamPerformance(Long id);

    void addTeamMember(Long teamId, Long userId);

    void removeTeamMember(Long teamId, Long userId);
}